//
//  BDMyOrderModel.h
//  iOS_beboy
//
//  Created by wen on 2017/9/19.
//  Copyright © 2017年 com.8xiong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MJExtension/MJExtension.h>

typedef NS_ENUM(NSUInteger, BDMyOrderStatus) {
    BDMyOrderStatusWaitPay,
    BDMyOrderStatusPaySuccessed,
    BDMyOrderStatusPayFailed,
    BDMyOrderStatusPayBack,
    BDMyOrderStatusPayTest,
    BDMyOrderStatusPayOverdue,
    BDMyOrderStatusApplyRefund,
    BDMyOrderStatusCancle
};

typedef NS_ENUM(NSUInteger, BDMyOrderType) {
    BDMyOrderTypePost               =1,
    BDMyOrderTypeProduct,
    BDMyOrderTypeTransferToShop,
    BDMyOrderTypeShopCoupon,
    BDMyOrderTypeTransferToUser,
    BDMyOrderTypeSendHongbao
};

@interface BDMyOrderModel : NSObject

@property (nonatomic) NSInteger my_id;
@property (nonatomic) BDMyOrderStatus status;
@property (nonatomic) BDMyOrderType type;
@property (nonatomic) NSInteger channel;
@property (nonatomic) NSInteger user_id;
@property (nonatomic) NSInteger object_id;
@property (nonatomic) NSInteger hong_bao_id;
@property (nonatomic, strong) NSString *created_at;
@property (nonatomic, strong) NSString *out_trade_no;
@property (nonatomic, strong) NSString *total_amount;
@property (nonatomic, strong) NSString *receipt_amount;
@property (nonatomic, strong) NSString *hong_bao_amount;
@property (nonatomic, strong) id object;
@property (nonatomic, strong) id payment_info;
@end
